Re: Firewalls and Postgres - Mailing list pgsql-general

From eric soroos
Subject Re: Firewalls and Postgres
Date
Msg-id 95598736.1168273801@[4.42.179.151]
Whole thread Raw
In response to Re: Firewalls and Postgres  (Tony Grant <tony@tgds.net>)
List pgsql-general
> I am tunneling through two firewalls to get to the webapp. The webapp is
> on an intranet.
>
> I just wanted to be able to use the webapp by port forwarding instead of
> tunneling an X session (mozilla running locally is a bit faster than on
> the distant machine).
>
> For everything else I use ssh X (pgaccess and psql run just fine that
> way)
>

What you probably want to do is add an entry in /etc/hosts (or run your own private dns if things get complicate) that
mapsyour webapp machine name to 127.0.0.1, then ssh port forward port 80 to port 80 on that machine (by number). This
foolsyour local browser is fooled into thinking that 127.0.0.1 is the webapp server. 

eric





pgsql-general by date:

Previous
From: eric soroos
Date:
Subject: Re: Firewalls and Postgres
Next
From: "Williams, Travis L, NPONS"
Date:
Subject: Re: psql command line question..